home *** CD-ROM | disk | FTP | other *** search
/ InterCD 2000 August / augusty_2000.iso / Site Building / 2Bitmap / ReadMe.txt < prev    next >
Encoding:
Text File  |  2000-05-22  |  4.8 KB  |  96 lines

  1. 2Bitmap.EXE is a full 32-bit Windows'9x/NT4/2000 application.
  2. ----------------------------------------------------------------------------
  3. You can launch the program several ways:
  4. 1. Press "Start=>Run", enter your command line (see the command line syntax below)
  5. and press "OK";
  6.  
  7. 2. You can launch the converting from your program:
  8.  
  9. 2.1. For launching the converting from Visual C++, use the "ShellExecute(...)" method.
  10. For example:
  11. ShellExecute(NULL, "open", "C:\\Program Files\\fCoder\\2BITMAP\\2bitmap.exe", "s=\"C:\\My Documents\\*.*\" d=\"C:\\BMP Files\" -sf -sep -w200 -h100 -prop", NULL, SW_SHOWMAXIMIZED);
  12.  
  13. 2.2. For launching the converting from Visual Basic, use the "Shell(...)" method.
  14. For example:
  15. Shell ("""C:\Program Files\fCoder\2BITMAP\2Bitmap.exe"" ""s=C:\My Documents\*.*"" ""d=C:\JPEG Files"" -sf -sep -w200 -h100 -prop")
  16. ----------------------------------------------------------------------------
  17. Supported source graphic formats:
  18. BMP, DIB, RLE, TIFF, GIF, JPEG(RGB and grayscale), PNG, PCX, DCX, TGA, DXF, EPSF with embeded preview image, FPX,
  19. WMF, EMF, IMG, WPG, PCD.
  20. LZW algorithm licensed under US patent No. 4558302 from Unisys.
  21. ----------------------------------------------------------------------------
  22. Command line syntax:
  23. 2bitmap.exe s=<SP> d=<DP> -w<W> -h<H> -prop -rot<ANGLE> -cd<CD> -sep -ov -sf -g -crop(X0;Y0;X1;Y1)
  24.  
  25. <SP>    - Source file(s) path. Can be mask:
  26.         <folder path>\*.* - convert all graphic files from folder
  27.         <folder path>\*.bmp - convert all Bitmap files from folder
  28.         <folder path>\MyImage.* - convert all files with name "MyImage" from folder
  29.         <folder path>\MyImage.bmp - convert only "MyImage.bmp" from folder
  30. <DP>    - Destination folder path.
  31.  
  32. <CD>    - Destination file(s) color depth (24 by default);
  33.         Must be set as 1, 4, 8 or 24.
  34.  
  35. <W>       - Destination image width (width of the source image by default).
  36. <H>       - Destination image height (height of the source image by default).
  37. -prop    - Scaling will be proportionally if this key set.
  38.  
  39. -sep    - Separate multipage images (GIF, TIFF, DCX) if this key set.
  40.  
  41. -ov    - Overwrite existing destination files if this key set.
  42.  
  43. -sf    - Scan subfolders if this key set. Converted files will be placed into destination
  44.         folder with source folders structure saving.
  45.  
  46. -g    - Save image in grayscale palette if this key set.
  47.  
  48. <ANGLE>    - Destination image rotation angle (0.00 by default)
  49.         Must be set within the range of -360.00..0.00..360.00. The angle step is 0.01.
  50.  
  51.  -crop    - Crop image
  52.     X0 - left border;
  53.     Y0 - top border;
  54.     X1 - right border;
  55.     Y1 - bottom border.
  56. ----------------------------------------------------------------------------
  57. Command line examples:
  58.  
  59. 2bitmap.exe s="C:\My Documents\*.*" d="C:\BMP_Files"
  60. 2bitmap.exe s="C:\My Documents\*.*" d="C:"
  61. 2bitmap.exe s="C:\My Documents\*.*" d="C:\BMP_Files" -w300 -h500
  62. 2bitmap.exe s="C:\My Documents\*.*" d="C:\BMP_Files" -w300 -h500 -prop
  63. 2bitmap.exe s="C:\My Documents\*.*" d="C:\BMP_Files" -w300 -prop
  64. 2bitmap.exe s="C:\My Documents\*.png" d="C:\BMP_Files" -cd8
  65. 2bitmap.exe s="C:\My Documents\name.*" d="C:\BMP_Files" -w300 -h500 -prop -rot30 -cd4 -sf -ov -sep
  66. 2bitmap.exe s="C:\My Documents\name.*" d="C:\BMP_Files" -rot30
  67. ----------------------------------------------------------------------------
  68. Some tips:
  69.  
  70. 1. Please use full path only. For example:
  71. s="C:\My Documents\*.bmp" -- Ok
  72. s="..\..\*.bmp"           -- please do not use relative path.
  73.  
  74. 2. If you want to convert vector or large raster files which have large width and height
  75. (more than 2000 x 2000), and converting is not success, try to set less width and height
  76. of destination file with using -w<W> and -h<H> keys. Use -prop key to save image proportions.
  77. For example:
  78. 2bitmap.exe s="C:\My Documents\*.*" d="C:\BMP_Files" -w1000 -h1000 -prop
  79.  
  80. You need ( 3 MB + source file size) free RAM to creating a file that has width and height 1000 x 1000;
  81. You need (12 MB + source file size) free RAM ===//====//====//====//====//====//====//=== 2000 x 2000;
  82. You need (26 MB + source file size) free RAM ===//====//====//====//====//====//====//=== 3000 x 3000;
  83. You need (46 MB + source file size) free RAM ===//====//====//====//====//====//====//=== 4000 x 4000;
  84. You need (72 MB + source file size) free RAM ===//====//====//====//====//====//====//=== 5000 x 5000.
  85. This memory should be really free. We recommend to close all another applications before
  86. converting large files.
  87. ----------------------------------------------------------------------------
  88. Do you have any questions about this product?
  89. Please send them by email: 2bitmap@fcoder.com 
  90. ----------------------------------------------------------------------------
  91. Updated: May 22, 2000
  92. Version: 2.40
  93. System Requirements: Windows 95, 98, NT or 2000
  94. ----------------------------------------------------------------------------
  95.                         With best regards,
  96.                         fCoder Team